package com.demo.service;

import com.demo.entity.Dept;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface DeptService {

    List<Dept> selectAllDept();

    Dept selectDeptById(int id);

    boolean deleteDeptById(int id);

    boolean insertDept(Dept dept);

    boolean updateDept(Dept dept);


}
